package com.sumc.spring.cloud.eureka.one.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @describe：
 * @author: Smc
 * @version:v1.0 2020/3/20 14:18   Try to write good code
 */
@RestController
public class EurekaController {

    @GetMapping("say")
    public String sayHello(){
      /*  try {
            Thread.sleep(4000);
        }catch (Exception e){
            e.getMessage();
        }*/
        System.out.println("这是提供者1");
        return "hello 这是提供者  1 ";
    }
}
